import baseConfig
#合并两个dict
def merge(defaults,override):
	r = {}
	for k,v in defaults.items():
		if k in override:
			if isinstance(v,dict):
				r[k] = merge(defaults[k],override[k])
			else:
				r[k] = override[k]
		else:
			r[k] = v;
	return r

config = {
	"title":"我的测试"
}

config = merge(baseConfig.config,config)

		
